package com.ruoyi.order.service;

import java.math.BigDecimal;
import java.util.List;

import com.basic.service.IBaseService;
import com.param.concat.IToExamineParamBySearch;
import com.ruoyi.order.domain.OrderLog;

/**
 * 订单日志Service接口
 * 
 * @author ruoyi
 * @date 2024-01-09
 */
public interface IOrderLogService extends IBaseService<OrderLog>
{
	/**
	 * 
	 * @param orderId
	 * @param userId
	 * @param editId
	 * @return
	 */
	
	/**
	 * 
	 * @param orderId
	 * @param userId
	 * @param editId
	 * @return
	 */
	int insertLog(
		int orderId, 
		int userId, 
		int status, 
		int payManagerId, 
		int type
	);
	
	int insertLog(
		int orderId, 
		int userId, 
		int status, 
		int payManagerId, 
		int type,
		String requirement
	);
	
	/**
	 * 已报价
	 * @param orderId
	 * @param userId
	 * @param status
	 * @param payManagerId
	 * @return
	 */
	int quotationLog(int orderId, int userId, int status, int payManagerId, BigDecimal decimal);
    
	/**
	 * 审核
	 * @param param
	 * @return
	 */
	int toExamination(IToExamineParamBySearch param);
	
	/**
	 * 变更服务类型
	 * @param param
	 * @return
	 */
	int changeServiceType(IToExamineParamBySearch param);
	
}
